const electron = require("electron");
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;
let mainWindow = null;
app.on("ready", async () => {
  mainWindow = new BrowserWindow({
    width: 600,
    height: 500,
    show: false,
    // transparent: true,
    // titleBarStyle: 'hidden',
    // frame: false,
    webPreferences: {
      nodeIntegration: true
    }
  });
  mainWindow.maximize()
  mainWindow.show();
  mainWindow.loadFile("./page/message.html");
});